package com.rcloud.server.sealtalk.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 企业基础信息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "company_info")
public class CompanyInfo {
    /**
     * 主键ID
     */
    @Id
    @Column(name = "id")
    private Integer id;

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 统一社会信用代码
     */
    @Column(name = "unify_social_code")
    private String unifySocialCode;

    /**
     * 组织机构代码
     */
    @Column(name = "org_code")
    private String orgCode;

    /**
     * 税务登记证号
     */
    @Column(name = "tex_num")
    private String texNum;

    /**
     * 社保登记号
     */
    @Column(name = "social_security_num")
    private String socialSecurityNum;

    /**
     * 统计证证号
     */
    @Column(name = "statistical_num")
    private String statisticalNum;

    /**
     * 企业名称
     */
    @Column(name = "company_name")
    private String companyName;

    /**
     * 企业类型
     */
    @Column(name = "company_mold")
    private String companyMold;

    /**
     * 住所
     */
    @Column(name = "company_addr")
    private String companyAddr;

    /**
     * 法定代表人
     */
    @Column(name = "legal_person")
    private String legalPerson;

    /**
     * 组成形式
     */
    @Column(name = "composing_form")
    private String composingForm;

    /**
     * 注册资本
     */
    @Column(name = "registered_capital")
    private String registeredCapital;

    /**
     * 成立日期
     */
    @Column(name = "establish_date")
    private String establishDate;

    /**
     * 营业期限
     */
    @Column(name = "operating_period")
    private String operatingPeriod;

    /**
     * 经营范围
     */
    @Column(name = "business_scope")
    private String businessScope;

    /**
     * 登记机关
     */
    @Column(name = "registration_authority")
    private String registrationAuthority;

    /**
     * 登记日期
     */
    @Column(name = "registration_date")
    private String registrationDate;

    /**
     * 经营状态
     */
    @Column(name = "entStatus")
    private String entstatus;

    /**
     * 曾用名
     */
    @Column(name = "oldName")
    private String oldname;

    /**
     * 企业英文名
     */
    @Column(name = "engName")
    private String engname;

    /**
     * 企业官网
     */
    @Column(name = "com_website")
    private String comWebsite;
}